package com.alibaba.otter.manager.web.dto;

import com.alibaba.otter.manager.biz.statistics.table.param.BehaviorHistoryInfo;
import com.alibaba.otter.shared.common.model.config.channel.Channel;
import com.alibaba.otter.shared.common.model.config.data.DataMediaPair;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.Instant;
import java.util.Map;

@Setter
@Getter
@ToString
@NoArgsConstructor
public class TableStatDTO {


    private Long totalInsert;

    private Long totalUpdate;;
    private Long totalDelete;
    private Long totalFileCount;

    private Long totalFileSize;


    private Map<Long, RecentTableStatDTO> behaviourHistoryInfos;

    private Instant start;

    private Instant end;

    private DataMediaPair dataMediaPair;

    private Channel channel;
}
